package com.xx.ch06.demo.demo01;

import org.aspectj.lang.JoinPoint;
import org.junit.jupiter.api.Test;


public class ErrorLogger {
    @Test
    public void afterThrowing(JoinPoint jp,RuntimeException e){
        System.out.println(jp.getSignature().getName()+"方法发生异常:"+e);
    }
}
